<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<label th:text="#{login.error.message}"></label><h4 th:text="${msg}"></h4>
<form action="" method="post">
    <p><label th:text="#{login.username}"></label>：<input type="text" name="username" value="admin"/></p>
    <p><label th:text="#{login.password}"></label>: <input type="text" name="password" value="123456"/></p>
    <p><input type="submit" value="login" th:attr="value=#{login.login}"/></p>
    <P><input type="checkbox" name="rememberMe" /><label th:text="#{login.remember.me}"></label></P>
</form>
</body>
</html>